package ch1.refactors;

class NewReleasePrice extends Price{

    int getPriceCode(){
        return 0;
    }

    double getCharge(int daysRented){
        return daysRented * 3;
    }
    public int getFrequentRenterPoints(int daysRented) {
        return (daysRented > 1) ? 2 : 1;
    }
}
